package com.edu.service;

import com.edu.bean.User;

public interface UserService {
    /**
     * 注册，传入无id的user
     * @param user
     * @return 有id的user
     */
    public int registerService(User user);
    /**
     * 登录，传入有用户名，密码的user
     * @param user
     * @return user对象
     */
    public User loginService(User user);
}
